import request from '@/utils/request'
export function specialPageApi (params) {
  return request({
    url: '/api/specialHomeworkCertificate/pageList',
    method: 'POST',
    headers: {
      'Content-Type': 'application/json'
    },
    data: params
  })
}

export function specialWorkAddApi (params) {
  return request({
    url: '/api/specialHomeworkCertificate/add',
    method: 'POST',
    headers: {
      'Content-Type': 'application/json'
    },
    data: params
  })
}

export function specialWorkUpdateApi (params) {
  return request({
    url: '/api/specialHomeworkCertificate/update',
    method: 'POST',
    headers: {
      'Content-Type': 'application/json'
    },
    data: params
  })
}
export function specialWorkDeleteApi (params) {
  return request({
    url: '/api/specialHomeworkCertificate/delete',
    method: 'DELETE',
    params
  })
}
export function userListApi (params) {
  return request({
    url: '/api/user/userList',
    method: 'POST',
    data: params
  })
}